// #region example a

.custom-hand-gutter {
  width: 100%;
  height: 100%;
  display: flex;
  background-color: #ff0;
  cursor: default;

  .as-horizontal & {
    align-items: flex-end;
    justify-content: center;
  }

  .as-vertical & {
    align-items: center;
    justify-content: flex-end;
  }
}

.custom-hand-gutter-icon {
  opacity: 0.6;
  transition: opacity 0.3s;
  cursor: grab;

  .as-horizontal & {
    background-image: url('') !important;
    width: 27px;
    height: 35px;
    margin-bottom: 5px;
  }

  .as-vertical & {
    background-image: url('') !important;
    width: 35px;
    height: 29px;
    margin-right: 5px;
  }

  &:hover {
    opacity: 1;
  }
}

// #endregion

// #region example b

.ex-b {
  as-split-area {
    background-color: #d3d3d3;

    p {
      padding: 10px;
    }
  }
}

.custom-shade-gutter {
  width: 100%;
  height: 100%;
  background-color: grey;
  position: relative;
}

.custom-shade-gutter-icon {
  height: 100%;
  width: 100%;
  background-color: black;
  transition: opacity 0.3s;
  opacity: 0;
  position: absolute;

  .dragged &,
  &:hover {
    opacity: 0.1;
  }

  $shadeSize: 8px;

  .as-horizontal & {
    width: 1 + ($shadeSize * 2);
    left: -$shadeSize;
    right: $shadeSize;
  }

  .as-vertical & {
    height: 1 + ($shadeSize * 2);
    top: -$shadeSize;
    bottom: $shadeSize;
  }
}

// #endregion

// #region example c

.custom-collapse-gutter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  width: 100%;

  .as-vertical & {
    flex-direction: row;
  }

  .as-horizontal & {
    flex-direction: column;
  }
}

.custom-collapse-gutter-header {
  display: flex;
  flex: 1;

  .as-vertical & {
    flex-direction: row;
  }

  .as-horizontal & {
    flex-direction: column;
  }

  & > div {
    cursor: pointer;
  }
}

.custom-collapse-gutter-icon {
  background-position: center center;
  background-repeat: no-repeat;

  .as-vertical & {
    width: 30px;
    height: 5px;
    background-image: url('');
  }

  .as-horizontal & {
    width: 5px;
    height: 30px;
    background-image: url('');
  }
}

.custom-collapse-gutter-ghost {
  flex: 1;
}

// #endregion

.btns {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
